package com.itheima.pattern.t7_decorator.demo2;

import java.io.BufferedWriter;
import java.io.FileWriter;

/**
 * JDK-IO
 */
public class IoDemo {

    public static void main(String[] args) throws Exception {
        FileWriter fw = new FileWriter("F:\\a.txt");
        BufferedWriter bw = new BufferedWriter(fw);
        bw.write("Hello Buffered");
        bw.close();
    }
}
